package com.me.modules.aff.service;

import com.me.modules.aff.entity.AffairsInfoEntity;
import com.me.modules.common.page.Page;

import java.util.List;
import java.util.Map;

/**
 * 事务申请流程信息表
 *
 * @author lill
 * @email lill5270@163.com
 * @date 2019-01-16 17:47:50
 */
public interface AffairsInfoService {

	AffairsInfoEntity queryObject(Long id);

	List<AffairsInfoEntity> queryList(Map<String, Object> map);

    List<AffairsInfoEntity> queryListByBean(AffairsInfoEntity entity);

	int queryTotal(Map<String, Object> map);

	int save(AffairsInfoEntity affairsInfo);

	int update(AffairsInfoEntity affairsInfo);

	int delete(Long id);

	int deleteBatch(Long[] ids);

	Page<AffairsInfoEntity> findPage(AffairsInfoEntity affairsInfo, int pageNum);
}
